import request from "@/utils/request";

// 上传文件
export const _uploadFile = (file) => {
  const formData = new FormData()
  formData.append('file', file)
  
  return request.post('/api/file/upload', formData, {
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
}
